package com.boot.web.service;

import com.boot.web.entity.*;
import com.boot.base.service.BaseService;

import java.math.BigDecimal;
import java.text.ParseException;

/**
 * 订单业务层接口
 * @author 【zhouJie】
 * @date 2021-07-15 09:19:06
 */
public interface OrdersCopyService extends BaseService<OrdersCopy> {

    void handleCollage(CollageMode collageMode, Product product, Integer userId, BigDecimal totalAmount, BigDecimal totalPrice,
                       String consigneeName, String fullAddress, String consigneePhone, BigDecimal freight, BigDecimal couponPrice,
                       Integer couponQuantity, Integer skuId, boolean isSpellSelect, Integer couponId, String outTradeNo, String tradeNo) throws ParseException;

    void handleCollageProfit(Integer userId, BigDecimal voucher, String orderNo);

    void handleCollage_wx(Orders orders, CollageMode collageMode, Product product, Integer userId,
                          Integer couponQuantity, Integer skuId, Integer couponId) throws ParseException;

}
